package com.example.hand.service;

import com.example.hand.dataobject.CarBrand;
import com.example.hand.dto.BrandDTO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface BrandService {

    CarBrand findById(Integer Id);

    Page<CarBrand> findAll(Pageable pageable);

    CarBrand add(CarBrand carBrand);

    void deleteById(Integer Id);


}
